//
//  BCUserCenterHeaderView.h
//  GSBlockChain
//
//  Created by guoshikeji_a on 2018/11/14.
//  Copyright © 2018年 guoshikeji. All rights reserved.
//

#import <UIKit/UIKit.h>

@class BCUserCenterData;

@interface BCUserCenterHeaderImageButton : QMUIButton

/**
 *headerIV
 */
@property (nonatomic, strong) UIImageView *headerIV;

/**
 *tintButton
 */
@property (nonatomic, strong) QMUIButton *tintButton;

+ (CGSize)defaultSize;

@end

@protocol BCUserCenterHeaderViewDelegate;

@interface BCUserCenterHeaderView : UIView


/**
 * BCUserCenterHeaderViewDelegate
 */
@property (nonatomic, weak) id <BCUserCenterHeaderViewDelegate> delegate;

/**
 tableView的contentOffset发生变化
 */
- (void)contentOffsetChanged:(CGPoint)contentOffset;


/**
 *BCUserCenterData
 */
@property (nonatomic, strong) BCUserCenterData *centerData;
- (void)reloadData;


+ (CGFloat)defaultHeight;

@end

@protocol BCUserCenterHeaderViewDelegate <NSObject>

@optional
- (void)userCenterHeaderViewClickedToUserInfoAction;
- (void)userCenterHeaderViewClickedLastProfitsCoinType:(BCCoinType)coinType;
- (void)userCenterHeaderViewClickedTotleProfitsCoinType:(BCCoinType)coinType;
- (void)userCenterHeaderViewClickedProjectsCoinType:(BCCoinType)coinType;

@end

